<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - Home</title>
    <link rel="stylesheet" href="styles.css">
    <style>
        /* Page-specific styles for the feed layout */
        .user-header {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: white;
            text-decoration: none;
            color: inherit;
        }
        .user-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #007aff; /* Blue circle */
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        .feed-list {
            padding: 15px;
        }
        .feed-item {
            display: flex;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            text-decoration: none;
            color: inherit;
        }
        .feed-item:last-child {
            border-bottom: none;
        }
        .item-text {
            flex-grow: 1;
            margin-right: 10px;
        }
        .item-image {
            width: 100px;
            height: 100px;
            background-color: #e0e0e0;
            border-radius: 4px;
            flex-shrink: 0;
        }
        .item-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 5px;
            line-height: 1.3;
            max-height: 2.6em; /* Limit title lines */
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .item-meta {
            font-size: 12px;
            color: #999;
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="header-time">12:30</div>
        <div></div> </div>

    <div class="container">
        <a href="user_detail.html" class="user-header">
            <div class="user-icon">👤</div>
            <div class="user-name">用户的名字</div>
        </a>

        <div class="feed-list">
            <a href="feed_detail.html" class="feed-item">
                <div class="item-text">
                    <div class="item-title">标题名称标题名称标题名称标题名称标题名称标 题名称标题名</div>
                    <div class="item-meta">作者 2024/03/25 | 98收藏</div>
                </div>
                <div class="item-image content-placeholder" style="height: 80px; width: 80px;">图</div>
            </a>
            <a href="feed_detail.html" class="feed-item">
                <div class="item-text">
                    <div class="item-title">标题名称标题名称标题名称标题名称标题名称标 题名称标题名</div>
                    <div class="item-meta">作者 2024/03/25 | 98收藏</div>
                </div>
                <div class="item-image content-placeholder" style="height: 80px; width: 80px;">图</div>
            </a>
            <a href="feed_detail.html" class="feed-item">
                <div class="item-text">
                    <div class="item-title">标题名称标题名称标题名称标题名称标题名称标 题名称标题名</div>
                    <div class="item-meta">作者 2024/03/25 | 98收藏</div>
                </div>
                <div class="item-image content-placeholder" style="height: 80px; width: 80px;">图</div>
            </a>
            <a href="feed_detail.html" class="feed-item">
                <div class="item-text">
                    <div class="item-title">标题名称标题名称标题名称标题名称标题名称标 题名称标题名</div>
                    <div class="item-meta">作者 2024/03/25 | 98收藏</div>
                </div>
                <div class="item-image content-placeholder" style="height: 80px; width: 80px;">图</div>
            </a>
            <a href="feed_detail.html" class="feed-item">
                <div class="item-text">
                    <div class="item-title">标题名称标题名称标题名称标题名称标题名称标 题名称标题名</div>
                    <div class="item-meta">作者 2024/03/25 | 98收藏</div>
                </div>
                <div class="item-image content-placeholder" style="height: 80px; width: 80px;">图</div>
            </a>
        </div>
    </div>

    <div class="bottom-nav">
        <a href="index.html" class="nav-item active">
            <span class="icon">🏠</span>
            <span>首页</span>
        </a>
        <a href="discovery.html" class="nav-item">
            <span class="icon">🔍</span>
            <span>动态</span>
        </a>
        <a href="map.html" class="nav-item">
            <span class="icon">🗺️</span>
            <span>手气不错</span>
        </a>
        <a href="collection_list.html" class="nav-item">
            <span class="icon">📚</span>
            <span>收藏</span>
        </a>
        <a href="profile.html" class="nav-item">
            <span class="icon">👤</span>
            <span>我的</span>
        </a>
    </div>
</body>
</html>